import numpy as np

import cv2

#img = np.zeros((300,300,3),np.uint8)

img = cv2.imread('22.jpg')

font=cv2.FONT_HERSHEY_SIMPLEX

cv2.putText(img,'OpenCV',(20,80),font,5,(0,255,0),5)

cv2.putText(img,'Forever!',(20,180),font,2,(0,0,255),5)

cv2.putText(img,'This is a gril!',(20,280),font,2,(0,0,255),2)

cv2.imshow("img",img)

cv2.waitKey(0)

cv2.destroyAllWindows()
